package com.mode.command.pattern;

/**
 * @Description:
 * @Author: zyf
 * @Time: 2020/9/27 16:14
 */
public class CommonMain {
    public static void main(String[] args) {
        Invoker invoker = new Invoker();
        Receiver receiver = new ConcreateReceiver();
        Commond commond = new DeleteCommond(receiver);
        invoker.setCommond(commond);
        invoker.action();

    }
}
